<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="d" uri="http://dgg.net/jsp/jstl/core" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div class="dgg-list-top-warp" id="removeId">
    <%--<form id="searchFormCompleted" action="${basePath}/all_order/excel_export_completed.do">--%>
        <input type="hidden" value="0" id="hiddenType" name="hiddenType"/>
        <input type="hidden" id="completeState" name="completeState" value="2">
        <div class="screen-search" id="formComplete">
            <ul>
                <li>
                    <label>客户姓名：</label>
                    <input type="text" class="dggui-input dggui-input-normal" id="customerName" name="customerName" placeholder="输入客户姓名" maxlength="50">
                </li>
                <li>
                    <label>接单时间：</label>
                    <input type="text" readonly class="dggui-input dggui-time-range" id="receiveOrderDate" name="receiveOrderDate">
                    <i class="iconfont icon-rili"></i>
                </li>
                <li>
                    <label>废单时间：</label>
                    <input type="text" readonly class="dggui-input dggui-time-range" id="abandonReasonTime" name="abandonReasonTime">
                    <i class="iconfont icon-rili"></i>
                </li>
                <li>
                    <label>流程人员：</label>
                    <select id="flowUserId" name="flowUserId" style="min-width: 80px; display: none;">
                    </select>
                </li>
                <li>
                    <label>所属生产事业部：</label>
                    <select id="productOrgId" name="productOrgId" >
                    </select>
                </li>
                <li>
                    <label>生产部门：</label>
                    <input type="text" class="dggui-input" id="flowUserDep" data-id="" value=""  style="min-width: 320px; "  />
                </li>
                <li>
                    <label>业务类型：</label>
                    <div name="typeCode" id="typeCode"></div>
                </li>
                <li>
                    <label>产品：</label>
                    <select name="productCode" id="productCode" style="min-width: 80px; display: none;">
                    </select>
                </li>
                <li>
                    <label>渠道：</label>
                    <select name="channelCode" id="channelCode" class="dggui-select">
                        <option value=''>请选择</option>
                    </select>
                </li>
                <li>
                    <label>签单商务：</label>
                    <select id="signUserId" name="signUserId"  style="min-width: 80px; display: none;">
                    </select>
                </li>
                <li>
                    <label>签单部门：</label>
                    <div class="tree-select-warp">
                        <input type="text" class="dggui-input input-selct-tree" id="signOrg" name="signOrg" data-id="" value=""  style="width: 320px"/>
                    </div>
                </li>
                <li>
                    <label>关键字：</label>
                    <input type="text" class="dggui-input dggui-input-large" id="searchKey" name="searchKey" placeholder="订单编号/生产单编号/客户号码" maxlength="50" style="width: 190px;">
                </li>
                <%--<li>--%>
                <%--<label>需求金额：</label>--%>
                <%--<input type="number" class="dggui-input dggui-input-large" id="moneyMin" name="moneyMin" placeholder="输入最小金额" min="0">~--%>
                <%--<input type="number" class="dggui-input dggui-input-large" id="moneyMax" name="moneyMax" placeholder="输入最大金额" min="0">--%>
                <%--</li>--%>
                <li>
                    <button class="dggui-btn" onclick="tableReload();return false;">搜索</button>
                    <button class="dggui-btn dggui-btn-primary" onclick="cleanSearch();return false;">清空条件</button>
                    <d:hasUrlAuth authCode="RZSC_OPERATION_EXPORT">
                        <button class="dggui-btn dggui-btn-green" onclick="excelExportCompeled('${basePath}/all_order/excel_export_completed_f.do','0');return false;">导出</button>
                    </d:hasUrlAuth>
                </li>
            </ul>
        </div>
    <%--</form>--%>
</div>


<div class="list-content">
    <div class="tool-bar">
        <d:hasUrlAuth authCode="RZSC_OPERATION_CALL">
        <div class="fl">
            <a href="javascript:void(0)" class="dggui-btn" onclick="callPhoneByProduction($('#completeOrderf'))">打电话</a>
        </div>
        </d:hasUrlAuth>
        <div class="fr node-state" >
            <%--<ul>
                <li class="over-finish">订单超期</li>
                <li>节点超期</li>
            </ul>--%>
        </div>
        <%--<div class="fr" >
            <span><i class="dggui-tag dggui-tag-red"></i>订单超期</span>
            <span><i class="dggui-tag dggui-tag-green"></i>节点超期</span>
        </div>--%>
    </div>
    <div class="table-warp">
        <table class="dggui-table" id="completeOrderf">
        </table>
    </div>
</div>